﻿<Window x:Class="MedicalSelfserviceTerminals.GetCardWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:uc="clr-namespace:MedicalSelfserviceTerminals.CustomUI"
        WindowStyle="None"
        ShowInTaskbar="False"
        WindowState ="Maximized"
        Title="GetCardWindow" Height="768" Width="1024" Style="{DynamicResource windowOpacity}" Closed="Window_Closed">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="155*"/>
            <ColumnDefinition Width="195*"/>
            <ColumnDefinition Width="158*"/>
        </Grid.ColumnDefinitions>
        
        <Grid.RowDefinitions>
            <RowDefinition Height="80"/>
            <RowDefinition Height="20" />
            <RowDefinition Height="34*"/>
            <RowDefinition Height="20" />
            <RowDefinition Height="100"/>
            <RowDefinition Height="30" />
            <RowDefinition Height="90"/>
        </Grid.RowDefinitions>
        <uc:UCTitleBar x:Name="titleBar" Grid.Row="0" Grid.ColumnSpan="3"/>
        <uc:UCBottomBar  Grid.Row="6" Grid.ColumnSpan="3"/>
        <Border BorderBrush="#FF0475CB" BorderThickness="1" Grid.Row="2" Grid.Column="0"  Grid.ColumnSpan="3" Grid.RowSpan="1" Margin="10,0">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition />
                    <RowDefinition />
                    <RowDefinition />
                    <RowDefinition />
                    <RowDefinition />
                   
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition />
                    <ColumnDefinition />
                    <ColumnDefinition />
                    <ColumnDefinition />
                    <ColumnDefinition />
                    <ColumnDefinition />
                    <ColumnDefinition />
                    <ColumnDefinition/>
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <uc:UCTagLabel LbTxt="请把身份证放在阅读器上" Grid.Column="2" Grid.ColumnSpan="6" Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="40" Foreground="#FF999999" />
                <Label Content="姓名" Grid.Column="2" Grid.ColumnSpan="1" Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="36" Foreground="#FF999999" />
                <Label Name="lbName" Content="姓名" Grid.Column="3" Grid.ColumnSpan="1" Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="36" Foreground="Red" />
                <Label Content="性别" Grid.Column="4" Grid.ColumnSpan="1" Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="36" Foreground="#FF999999" />
                <Label Name="lbSex" Content="性别" Grid.Column="5" Grid.ColumnSpan="1" Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="36" Foreground="Red" />
                <Label Content="出生年月" Grid.Column="2" Grid.ColumnSpan="2" Grid.Row="2" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="36" Foreground="#FF999999" />
                <Label Name="lbBirthday" Content="出生年月" Grid.Column="4" Grid.ColumnSpan="3" Grid.Row="2" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="36" Foreground="Red" />
                <uc:UCTagLabel LbTxt="身份证号" Grid.Column="2" Grid.ColumnSpan="2" Grid.Row="3" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="36" Foreground="#FF999999" />
                <Label Name="lbCardNo" Content="身份证号" Grid.Column="4" Grid.ColumnSpan="3" Grid.Row="3" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="36" Foreground="Red" />
                <Label Name="lbSendState" Content="发卡中，请稍候..." Grid.Column="6" Grid.ColumnSpan="3" Grid.Row="4" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="36" Foreground="#FF0475CB" Background="Yellow" />

            </Grid>
               
        </Border>

        <Label Name="lbSendBtn" Content="点击取卡" BorderBrush="#FF294D8C" BorderThickness="1" Grid.Column="1" Grid.Row="4" FontSize="48" FontFamily="Microsoft YaHei UI" FontWeight="Bold" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Foreground="White" MouseLeftButtonDown="Label_MouseLeftButtonDown_1"  >
            <Label.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FF0475CB" Offset="1"/>
                    <GradientStop Color="White"/>
                </LinearGradientBrush>
            </Label.Background>
        </Label>
        <uc:UCLeftButton LbTxt="返回" Margin="20,20,0,20"  Width="150" HorizontalAlignment="Left" Height="40" VerticalAlignment="Center" MouseLeftButtonDown="UCLeftButton_MouseLeftButtonDown_1" />
    </Grid>
</Window>
